﻿var lstUsersControl;

$(document).ready(function () {
    lstUsersControl = $("#lstUsers")[0];
    lstUsersControl.onchange = function () {
        ShowSvg();
    }

});

function ShowSvg() {
    //<embed src="circle1.svg" type="image/svg+xml" />
    //$('#mapDiv').append('<p>Test</p>');

    var newItem = '<embed src="/Content/Maps/Romania_1930_counties.500px.svg" type="image/svg+xml" />';
    $('#mapDiv').empty();
    $('#mapDiv').append(newItem);
}
